import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/course-web/courseAttendance/.jsonp?page=1&limit=100',
    method: 'get',
    params
  })
}

export const delTableRow = (courseId) => {
  return request({
    url: `/course-web/courseAttendance/deletebyid/${courseId}`,
    method: 'get',
  })
}

export function searchList(params, id){
  return request({
    url: `/course-web/courseAttendance/findbyid/${id}`,
    method: 'get',
    params
  })
}
